package com.cyh.web.controller;

import com.cyh.core.framework.annotation.OperationLogDetail;
import com.cyh.core.framework.annotation.RoleToken;
import com.cyh.core.framework.domain.dto.ResultDTO;
import com.cyh.core.framework.service.util.IUtilService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/test")
public class TestController {

    @Autowired
    IUtilService iUtilService;

    @RoleToken(Roleid = {})
    @RequestMapping("")
    @OperationLogDetail(level = 0,detail = "测试控制器的方法")
    public ResultDTO test() throws Exception {
        return ResultDTO.Success();
    }

}
